home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Containers within containers
- Sent: 8/15/96 10:48 AM
- Received: 8/15/96 11:01 AM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- You can perfectly embed a container into another container (I assume you
- are using the word container for a general embedding part instead of
- ODFContainer). The only thing you cannot do right now with ODF is for
- example drag a stationery of ODFContainer (ODFDraw/ODFEmbed/ODFTable) in
- an ODFContainer (ODFDraw/ODFEmbed/ODFTable) document. The problem with
- that is when dragging an ODFContainer document in an ODFContainer
- document OpenDoc says you should incorporate the data, not embed. When
- you drag a stationery your are in fact dragging an empty document. The
- resul is -- nothing. The problem I haven't been able to solve is how to
- detect that I am dragging a stationery so I could embed instead of
- incorporating nothing.
-
-
- >Dear ODF Team
- >
- >Can a container contain a container?
- >
- >I asked this question once before in a different context and, if I remember
- >correctly, got the answer - No. You cant embed ODFContainer in
- >ODFContainer, for instance.
- >
- >This makes sense if only the data is considered - both parts hold the same
- >data in the same way so why have one within another. However, the purpose
- >of embedding parts may be organisational.
- >
- >Specifically, I am involved in writing an application in which a
- >collection of
- >parts
- >are arranged hierarchically in an overall container part (the Page)
- >
- >The design requires the use of sub containers to hold objects on a lower
- >level of the hierarchy - which may themselves be sub-containers.
- >
- >It is necessary for a container to be a separate part for a number of reasons
- >including:
- >
- >Consistent navigation through the hierarchy
- >
- >Third parties should be able to write variations on the container easily and
- >without interring with the code of the embedding page.
- >
- >Graham
- >
-
-
- ........................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- ........................................................................
-
-
-